html,
body {
    height: 100%;
}

#app {
    height: 100%;
    overflow-y: scroll;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* justify-content: space-around; */
    padding-top: 10px;
    background-color: #fff;
    /* background-color: red; */
    z-index: 3;
}

.header .logo {
    margin-left: 18px;
}

.header .search-input {
    width: 132px;
    height: 24px;
    margin-left: 5px;
    display: flex;
    align-items: center;
    font-size: 10px;
    color: #999;
    background-color: #f4f4f4;
    border-radius: 12px;
}

.header .search-input svg {
    margin-left: 10px;
}

.header .search-input span {
    width: 92px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header .avatar svg {
    border-radius: 50%;
}

.header .download-app {
    -webkit-user-drag: 78px;
    height: 23px;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 12px;
    line-height: 23px;
    text-align: center;
    color: #fff;
    background-color: #fb7299;
    font-size: 12px;
    border-radius: 4px;
}

/* 导航 */
.nav-box {
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    z-index: 1;
    border-bottom: 1px solid #e7e7e7;
    background-color: #fff;
}

.nav-box .nav-list {
    width: 85%;
    padding-left: 16px;
    /* background-color: pink; */
    overflow: scroll;
    white-space: nowrap;
}

/* 使webkit内核浏览器的默认滚动条隐藏 */
.nav-box .nav-list::-webkit-scrollbar {
    display: none;
}

.nav-box .nav {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin-right: 36px;
    color: #505050;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.nav-box .nav.active {
    border-color: #fb7299;
    color: #fb7299;
}

.nav-box .down {
    position: absolute;
    right: 14px;
    top: 0px;
}

/* 扩展开的导航 */
.hide-nav-box {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    padding-bottom: 20px;
    background-color: #fff;
    z-index: 2;
    transition: top .5s;
}

.hide-nav-box.hide {
    /* display: none; */
    top: -117px;
}

.hide-nav-box .nav {
    display: inline-block;
    width: 32;
    margin-left: 14px;
    margin-right: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 14px;
    color: #aaa;
    border-bottom: 2px solid transparent;
    text-align: center;

}

.hide-nav-box .nav.big {
    width: 46px;
    margin-left: 7px;
    margin-right: 7px;

}

.hide-nav-box .nav.active {
    color: #fb7299;
}

.hide-nav-box .up {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translate(-50%);
}

/* 轮播区域 */
.banner-box {
    position: relative;
    top: 88px;
    left: 50%;
    transform: translate(-50%);
    width: 378px;
    height: 110px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.banner-box .banner-list {
    width: calc(350 * 4px);
    position: absolute;
    left: 0;
    transition: left 0.3s;
    background-color: wheat;
}

.banner-box .banner {
    float: left;
    width: 378px;
    height: 110px;
}

.banner .poster {
    width: 100%;
    height: 100%;
    /* opacity: 0.5; */
}

/* 轮播圆点 */
.banner-box .index-list {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 10px;
    display: flex;
    padding: 0 3px;
    align-items: center;
    border-radius: 4px;
    background: rgba(0, 0, 0, .3);
}

.index-list .index {
    width: 5px;
    height: 5px;
    margin: 0 3px;
    border-radius: 50%;
    background-color: #fff;
}

.index-list .index.active {
    background-color: #fb7299;
}

/* 视频列表区域 */
.video-box {
    padding: 88px 5px 21px 5px;
    /* background: red; */
}

.video-list::after {
    content: '';
    display: block;
    clear: both;
}

.video-box .video {
    width: 50%;
    float: left;
    height: 162px;
}

.video-box .poster {
    position: relative;
    height: 106px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.video-box .poster img {
    width: 100%;
    height: 100%;
}

.video-box .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    padding-top: 7px;
    padding-bottom: 3px;
    padding-left: 10px;
    font-size: 12px;
    color: #fff;

    background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent);
}

.info div {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
}

.video-box .info svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.video-box .title {
    margin-top: 6px;
    margin-right: 6px;
    margin-left: 6px;
    /* height: 38px; */
    line-height: 20px;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer {
    color: #999;
    text-align: center;
}

.footer .footer-more {
    padding: 20px 0;
    font-size: 15px;
}

.footer .footer-info {
    padding: 20px 0;
    background-color: #f4f4f4;
}

.footer .footer-info p {
    font-size: 13px;
    padding: 5px 0;
    /* line-height: 22px; */

}